nav .navbar-brand
{
    /* size for brand */
    font-size: xx-large;
}

nav img
{
    height: auto;
    width: 2rem;
}

.navbar-nav {
    flex-direction: row;
    justify-content: space-around;
}

.register
{
    border-radius: 3rem;
    width: 7rem;
}

main .form-control
{
    /* center form controls */
    display: inline-block;

    /* override Bootstrap's 100% width for form controls */
    width: auto;
}

main
{
    /* scroll horizontally as needed */
    overflow-x: auto;

    /* center contents */
    text-align: center;
}

main img
{
    /* constrain images on small screens */
    max-width: 100%;
}

.jumbotron
{
    background-color: transparent;
}

h1 {
    margin-top: 4rem;
}

#freepik_stories-investing {
    height: auto;
    width: auto;
}

@media only screen and (min-width: 767.98px) {
    #freepik_stories-investing {
        width: 25rem;
    }
}
@media only screen and (min-width: 991.98px) {
    #freepik_stories-investing {
        width: auto;
    }
}

.background
{
    position: absolute;
    z-index: -10;
    right: 0;
}

#home
{
    width: 100vw;
}

@media only screen and (max-width: 767.98px) {
    #home
    {
        top: auto;
        transform: rotate(180deg);
    }
}

.error {
    max-width: max-content;
}

.footer {
    display: block;
}

.footer p {
    margin: 0;
    line-height: 24px;
}

/* Heart icon in footer */
.footer p svg {
    height: 16px;
    width: 20px;
}

/* --------------------------------------------- */
/* Login/Register */
/* --------------------------------------------- */

:root {
    --input-padding-x: .75rem;
    --input-padding-y: .75rem;
}

.form-control {
    height: auto;
    width: 20rem!important;
}

.form-label-group {
    position: relative;
    margin-bottom: 0.5rem;
}
  
.form-label-group > input,
.form-label-group > label {
    padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0;
    /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
    padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown) ~ label {
    padding-top: calc(var(--input-padding-y) / 3);
    padding-bottom: calc(var(--input-padding-y) / 3);
    font-size: 12px;
    color: #777;
}

.spaceholder {
    height: 20px;
}